package mx.itesm.twritter.client;

import mx.itesm.twritter.shared.ToDraw;
import mx.itesm.twritter.shared.Tweet;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("parse")
public interface ParsingService extends RemoteService {
	ToDraw parse(Tweet tweet) throws IllegalArgumentException, Exception;

	ToDraw parse(int i, Tweet tweet) throws IllegalArgumentException, Exception;
}
